package cn.edu.zut.sunday.news.controller;

import cn.edu.zut.sunday.base.init.AutoImportDataService;
import cn.edu.zut.sunday.news.service.ImportNewsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class InitNewsDataService extends AutoImportDataService {
    @Autowired
    public void setImportDataService(ImportNewsService importNewsServiceImpl) {
        this.initDatabaseService = importNewsServiceImpl;
    }
}
